package com.example.attendancesystem.Models;

import lombok.Data;

@Data
public class Employee {
    private Integer empId;      // 员工id
    private String empNumber;   // 员工工号
    private String empPassword; // 员工登陆密码
    private String empName;     // 员工姓名
    private String empGender;   // 员工性别
    private String addTime;     // 入职时间
    private String ques;        // 密保问题
    private String ans;         // 密保答案
    private String empTel;      // 联系电话
    private String empEmail;    // 邮箱
    private String address;     // 住址
    private String imgPath;     // 头像地址
    private String education;   //学历
    private String empPosition; //职务
    private String department;  //部门
    private String birthday;    //出生日期

    @Override
    public String toString() {
        return "Employee{" +
                "empId=" + empId +
                ", empNumber='" + empNumber + '\'' +
                ", empPassword='" + empPassword + '\'' +
                ", empName='" + empName + '\'' +
                ", empGender='" + empGender + '\'' +
                ", addTime='" + addTime + '\'' +
                ", ques='" + ques + '\'' +
                ", ans='" + ans + '\'' +
                ", empTel='" + empTel + '\'' +
                ", empEmail='" + empEmail + '\'' +
                ", address='" + address + '\'' +
                ", imgPath='" + imgPath + '\'' +
                ", education='" + education + '\'' +
                ", empPosition='" + empPosition + '\'' +
                ", department='" + department + '\'' +
                ", birthday='" + birthday + '\'' +
                '}';
    }

    public Employee() {
        super();
    }

    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public String getEmpNumber() {
        return empNumber;
    }

    public void setEmpNumber(String empNumber) {
        this.empNumber = empNumber;
    }

    public String getEmpPassword() {
        return empPassword;
    }

    public void setEmpPassword(String empPassword) {
        this.empPassword = empPassword;
    }

    public String getEmpName() {
        return empName;
    }

    public void setEmpName(String empName) {
        this.empName = empName;
    }

    public String getEmpGender() {
        return empGender;
    }

    public void setEmpGender(String empGender) {
        this.empGender = empGender;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public String getQues() {
        return ques;
    }

    public void setQues(String ques) {
        this.ques = ques;
    }

    public String getAns() {
        return ans;
    }

    public void setAns(String ans) {
        this.ans = ans;
    }

    public String getEmpTel() {
        return empTel;
    }

    public void setEmpTel(String empTel) {
        this.empTel = empTel;
    }

    public String getEmpEmail() {
        return empEmail;
    }

    public void setEmpEmail(String empEmail) {
        this.empEmail = empEmail;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getImgPath() {
        return imgPath;
    }

    public void setImgPath(String imgPath) {
        this.imgPath = imgPath;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getEmpPosition() {
        return empPosition;
    }

    public void setEmpPosition(String empPosition) {
        this.empPosition = empPosition;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }
}
